-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix evm gas estimate bug #2833
Fix evm gas estimate bug #2833
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes looks good to me.
Though I'm not sure if deriving weight limit here makes any difference. Lets try anyway
@@ -40,3 +40,7 @@ sp-core = { git = "https://github.com/subspace/polkadot-sdk", rev = "6da3c45e1d5 | |||
sp-inherents = { git = "https://github.com/subspace/polkadot-sdk", rev = "6da3c45e1d5b3c1f09b5e54152b8848149f9d5e6" } | |||
sp-runtime = { git = "https://github.com/subspace/polkadot-sdk", rev = "6da3c45e1d5b3c1f09b5e54152b8848149f9d5e6" } | |||
substrate-frame-rpc-system = { git = "https://github.com/subspace/polkadot-sdk", rev = "6da3c45e1d5b3c1f09b5e54152b8848149f9d5e6" } | |||
|
|||
[features] | |||
default = ["rpc-binary-search-estimate"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure I have enabled this for evm specific crates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverted
It works fine with
|
7d1f1fe
to
fb893a9
Compare
yeah that was the idea. Without this PR it fails with out of gas even with skip simulation. You can try that as well, if you have time of course |
rpc-binary-search-estimate
default and switches it onpallet-ethereum
provided weight converter function to derive weight limit and proof size base costpartially fixes #2773
cc @abhi3700 could you please try it yourself as well, compile the node/domain with this fix and using
--skip-simulation
Code contributor checklist: